﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RIDA.Engine;
using RIDA.Tasks;
using System.Collections.ObjectModel;
using RIDA.Globals;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Reflection;

namespace RIDA.Stub
{
    public class TasksRepositoryStub
    {
        [ImportMany(typeof(IExecutableTask))]
        public IEnumerable<IExecutableTask> Tasks
        {
            get;
            set;
        }

        public TasksRepositoryStub()
        {
            MefContainer.Instance.Container.SatisfyImportsOnce(this);
        }

        #region ITaskRepository Members

        public IEnumerable<IExecutableTask> ReadTasks()
        {
          
            return Tasks;
        }

        
        #endregion

       
    }
}
